<!-- Module Rating -->
{if $logged == 0 && $onllog == 1}
	{$result}
{else}
	{$rating}
{/if}

{if $votes && $grs}
	<span class="hreview-aggregate" style="display: none !important;">
		<span class="item">
			<span class="fn">{$product->name}</span>
		</span>, 
		<span class="rating">
			<span class="average">{$allratings}</span> out of 
			<span class="best">{$maxunit}</span> based on 
			<span class="votes">{$votes}</span> ratings 
			<span class="summary"></span>
		</span>
	</span>
{/if}
<!-- Module Rating -->